package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * MCN信息对象 mcn_institutions
 * 
 * @author shawu
 * @date 2024-08-15
 */
public class McnInstitutions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** MCN机构唯一标识符
 */
    @Excel(name = "MCN机构唯一标识符 ")
    private Long mcnId;

    /** MCN名称
 */
    @Excel(name = "MCN名称 ")
    private String name;

    /** MCN描述
 */
    @Excel(name = "MCN描述 ")
    private String description;

    /** MCN创建时间
 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "MCN创建时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** MCN更新时间
 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "MCN更新时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setMcnId(Long mcnId) 
    {
        this.mcnId = mcnId;
    }

    public Long getMcnId() 
    {
        return mcnId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mcnId", getMcnId())
            .append("name", getName())
            .append("description", getDescription())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
